//处理商品相关的网络请求
import request from './request'
//商品列表
export function getGoodList(query,pagenum){
  return request({url:'/goods/search?query='+query+"&pagenum="+pagenum+"&pagesize=6"})
}
//商品详情
export function getGoodDeatil(id){
  return request({url:'/goods/detail?goods_id='+id})
}
//商品搜索
export function searchGoods(query){
  return request({url:'/goods/qsearch?query='+query})
}